


var app = new Vue({
	el: '#app',
	data: {
		name: "frank",
		// sex:"male",
		sex:['male'],
		article:"lorem frank",

		from :1,
		destination:[2],
	},

	methods: {

		onClick: function () {
			console.log('Clicked ...');
		},

		onEnter: function () {
			console.log('Mouse enter...');
		},

		onOut: function () {
			console.log('Mouse leave...');
		},

		onSubmit: function (event) {
			// 阻止默认行为
			// event.preventDefault();
			console.log('form submitted...');
		},

		onEnter: function () {

			console.log('enter pressed');
		}
	}

})
